/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package EDT.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

/**
 *
 * @author ali
 */
public class AffectEcIntervForm extends org.apache.struts.action.ActionForm {
    
    private String key;
    private int ec;
    private int interv;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getEc() {
        return ec;
    }

    public void setEc(int ec) {
        this.ec = ec;
    }

    public int getInterv() {
        return interv;
    }

    public void setInterv(int interv) {
        this.interv = interv;
    }

    @Override
    public String toString() {
        return "AffectEcIntervForm{" + "key=" + key + ", ec=" + ec + ", interv=" + interv + '}';
    }

   

    /**
     *
     */
    public AffectEcIntervForm() {
        super();
        // TODO Auto-generated constructor stub
    }

    /**
     * This is the action called from the Struts framework.
     *
     * @param mapping The ActionMapping used to select this instance.
     * @param request The HTTP Request we are processing.
     * @return
     */
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        ActionErrors errors = new ActionErrors();
      
        return errors;
    }
}
